package com.mallcloud.mall.product.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "SkuExAttrVO", description = "spu信息")
@Data
public class SkuExAttrVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "属性ID")
    private Long skuId;

    @ApiModelProperty(value = "SPU ID")
    private Long spuId;

    @ApiModelProperty(value = "sku名称")
    private String skuName;

    @ApiModelProperty(value = "多个销售属性值id逗号分隔")
    private String attrs;

    @ApiModelProperty(value = "sku图片")
    private String imgUrl;

    @ApiModelProperty(value = "售价，整数方式保存")
    private BigDecimal priceFee;

    @ApiModelProperty(value = "市场价，整数方式保存")
    private BigDecimal marketPriceFee;

    @ApiModelProperty(value = "商品编码")
    private String partyCode;

    @ApiModelProperty(value = "商品条形码")
    private String modelId;

    @ApiModelProperty(value = "商品重量")
    private Double weight;

    @ApiModelProperty(value = "商品体积")
    private Double volume;

    @ApiModelProperty(value = "状态 1:enable, 0:disable")
    private Boolean status;

    @ApiModelProperty(value = "库存" )
    private Integer stock;

    // 关联属性
    @ApiModelProperty(value = "当前sku规格列表" )
    private List<SpuSkuAttrValueVO> spuSkuAttrValues;
}
